package com.qk.management.service;


import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 * @author kaoM1Jy
 * @date 2025/10/8 20:00
 * @description:
 */

public interface RoleService {

    void addRole(Role role);

    void deleteByID(Integer id);

    PageResult<Role> page(String name, String label, Integer page, Integer pageSize);


    Role getByID(Integer id);

    void update(Role role);

    List<Role> getAll();
}
